/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package centralizedme;

/**
 *
 * @author palexander
 */
public abstract class RdfProperty {
    private String propName;
    private String openProp;
    private String closeProp;

    public RdfProperty(String propName) {
        this.propName = propName;

        openProp = "<" + propName + ">";
        closeProp = "</" + propName + ">";
    }

    /**
     * @return the propName
     */
    public String getPropName() {
        return propName;
    }

    /**
     * @return the openProp
     */
    public String getOpenProp() {
        return openProp;
    }

    /**
     * @return the closeProp
     */
    public String getCloseProp() {
        return closeProp;
    }

    /**
     * This toString method must be in all property child classes.
     * @return  <code>String</code> representing the property.
     */
    @Override
    public abstract String toString();
}
